<% content_for :title do %>
  New feature request
<% end %>

<% content_for :subtitle do %>
  <%= error_messages_for(:feature_request, :header_message => nil, :message => nil).untaint %>
<% end %>

<% form_for [@current_user, @feature_request] do |f| -%>
  <%= f.hidden_field :user_id %>

  <p><%= f.label 'summary' %><br/>
  <%= f.text_field :summary %></p>

  <p><%= f.label 'body' %><br/>
  <%= f.text_area :body, :rows => 3, :cols => 35 %></p>

  <p>
    <%= f.submit 'Submit' %>
    &nbsp;|&nbsp;
    <%= button_to_function 'Back', "history.go(-1)" %>
  </p>
<% end -%>